package com.example.stream.demostream.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.zhe.mybatis.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台管理人员表
 * </p>
 *
 * @author chenxiaohua
 * @since 2021-09-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_manager")
@ApiModel(value="SysManager对象", description="平台管理人员表")
public class SysManager extends BaseEntity<SysManager> {

    private static final long serialVersionUID = 1L;
    @TableField(value = "tenant_code", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "租户编码")
    private String tenantCode;

    @ApiModelProperty(value = "所属组织机构")
    private String orgCode;

    @ApiModelProperty(value = "岗位编码")
    private String postCode;

    @ApiModelProperty(value = "状态：1正常，2冻结")
    private Integer status;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别：1男，2女，3其他")
    private Integer sex;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "身份证")
    private String idNumber;

    @ApiModelProperty(value = "电子邮件")
    private String email;

    @ApiModelProperty(value = "邮政编码")
    private String postalCode;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @ApiModelProperty(value = "说明备注")
    private String remark;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
